<template>
 <div>
    <h3><ul class="mui-table-view">
				<li class="mui-table-view-cell mui-media" v-for="item of lists":key="item.id">
					<router-link :to="'/home/newsinfo/'+item.id">
						<img class="mui-media-object mui-pull-left" src="../../images/time.jpg">
						<div class="mui-media-body">
							<h2>{{item.title}}</h2>
							<p class="mui-ellipsis">
                                <span>{{item.time|dateFormat}}</span>
                                <span>点击：{{item.click}}次</span>
                               </p>
						</div>
					</router-link>
				</li>
				

			</ul></h3>
 </div>
</template>

<script>
 export default {
   data () {
     return {
         lists:[
             {
                 id:1,
                 title:"幸福",
                 time:new Date(),
                 click:0
             }
         ]
     }
   },
   components: {

   }
 }
</script>

<style lang="scss" scoped>
.mui-table-view{
    li{
        h2{
            font-size: 14px;
        }
        .mui-ellipsis{
            display: flex;
            justify-content: space-between;
            color: #780;
        }
    }
}
</style>


